package advanced.design_mode.proxymode;

public class RealStar implements Star {
    private String name;

    @Override
    public void sing() {
        System.out.println(name + " star sing....");
    }

    @Override
    public void confer() {
        System.out.println("real star confer...");
    }

    public RealStar(String name) {
        this.name = name;
    }
}
